package com.alatus.constant;

import java.util.ResourceBundle;

public class Constants {
//    开始页地址
    public static final String LOGIN_URI = "/api/login";
//    redis的key命名规范,项目名:模块名:功能名:唯一业务参数(比如用户ID)
    public static final String REDIS_JWT_KEY = "crmSystem:user:login:";
//    七天时间
    public static final Long EXPIRE_TIME = 7 * 24 * 60 * 60L;
//    三十分钟
    public static final Long DEFAULT_EXPIRE_TIME = 30 * 60L;
//    分页时每页10条记录
    public static final int PAGE_SIZE = 10;
//    Token的名字
    public static final String TOKEN_NAME = "Authorization";
//    负责人的Key
    public static final String OWNER_KEY = "crm:user:owner";
//    五分钟
    public static final Long DEFAULT_KEY_EXPIRE_TIME = 5 * 60L;
//    管理员名字
    public static final String ADMIN = "admin";
//    记住我按钮
    public static final String REMEMBER_ME = "rememberMe";
//    ID
    public static final String ID = "id";

    public static final String IDS = "ids";

    public static final String CURRENT = "current";

    public static final String TYPECODE = "typeCode";
    public static final String PHONE = "phone";
    public static final String EMPTY = "";
    public static final String EXPORT_EXCEL_URI = "/api/exportExcel";
    public static final String CUSTOMER_FILE_NAME = "客户信息";
    public static final String UTF_8 = "utf-8";
}